package hflyeer.dao;

import hflyeer.base.BaseMapper;
import hflyeer.pojo.entity.SaleChance;
import hflyeer.pojo.query.SaleChanceQuery;

import java.util.List;

public interface SaleChanceMapper extends BaseMapper<SaleChance,Integer> {
//    int deleteByPrimaryKey(Integer id);

    int insert(SaleChance record);

//    int insertSelective(SaleChance record);

    SaleChance selectByPrimaryKey(Integer id);

//    int updateByPrimaryKeySelective(SaleChance record);

    int updateByPrimaryKey(SaleChance record);

    List<SaleChance> querySaleChanceByParams(SaleChanceQuery query);
}